behavior modification architecture